package com.sunday.common.core.converter;

import com.sunday.common.core.gson.GsonUtils;
import lombok.Data;

import java.math.BigInteger;
import java.time.LocalDateTime;

@Data
public class User {

    private Long id;

    private String name;

    private BigInteger age;

    private Integer sex;

    private LocalDateTime createTime;

    private String simpleName;

    @Override
    public String toString() {
        return GsonUtils.DEFAULT.toJson(this);
    }

}
